package com.linktrip.devicemanager.entity;

public class UserInfo extends BaseEntity{

	/**
	 * @date   2017/02/15
	 * @author CaineZhu
	 */
	private static final long serialVersionUID = -8667076810588424292L;
	private String id; // ID
	private String user_name; // 用户帐号
	private String user_passwd; // 用户密码
	private int enable; // 是否冻结
	private int role_id; // 权限id

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUser_name() {
		return user_name;
	}

	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}

	public String getUser_passwd() {
		return user_passwd;
	}

	public void setUser_passwd(String user_passwd) {
		this.user_passwd = user_passwd;
	}

	public int getEnable() {
		return enable;
	}

	public void setEnable(int enable) {
		this.enable = enable;
	}

	public int getRole_id() {
		return role_id;
	}

	public void setRole_id(int role_id) {
		this.role_id = role_id;
	}

	public String toString() {
		super.toString();
		return "User[id=" + id + " , username=" + user_name + " , password=" + user_passwd + " , enable=" + enable
				+ " , role=" + role_id + "]";
	}

}
